<?php
/* @var $this BeritaController */
/* @var $model Berita */


?>

<div class="judul2" style="padding:3px 15px">
		GALERI
</div>




   <div >
     <div style="border-bottom: 1px dotted black;height:auto">
        <div valign="top" style="padding-top:10px;padding:0px 15px;">                  
            <div style="position: relative;padding-top: 10px;">
         <table border="0px" cellpadding="0" cellpadding="0" id="slidex">
        <tr>
            <?php
            $i = 0; foreach ($model_galeri as $model): $i++;?>
            <td valign="top" style="width:252px;height:148px;padding:10px;">
                <div>
                <a href="<?=bu();?>/img/galeri/full/<?=$model['id']?>.jpg"
                   title="<?=htmlentities($model['nama'], ENT_QUOTES)?> <?=htmlentities($model['isi'], ENT_QUOTES)?>">
                    <img border="0" src="<?=bu();?>/img/galeri/thumb/<?=$model['id']?>.jpg" width="252px" height="148px"
                         style="padding-bottom:0px;border:1px solid #bfbfbf;padding:3px;margin: 0px 0px 0px 0px;"/></a>
                </a>
                </div>
                
                <div>
                   <div class="fontswiss71swa font13" style="padding-left: 3px;">
                   <div>Event <?=$i?> :</div>
                   <div> <?=ucwords($model['nama'])?></div>              
                   </div>
                
                </div>
                
            </td>
            <? if (($i % 2) == 0) { ?>  </tr><tr> <? } ?>
            <? if ($i == $count) { ?>  </tr><? } ?>
            <?php endforeach; ?>
   
        </table>

      <div style="position:relative;" align="center">
                <?php $this->widget('CLinkPager', array(
                'pages' => $pages,
                'cssFile'=>bu().'/css/pager.css',
            )) ?>
             </div>
                
                </div>
            
             </div>            
     </div>
         
            
</div>



